from db_utils import D

if __name__ == '__main__':
    utils = D("test")
    sql = "insert into stu values(1,'老张',20,1991,'北京市海淀区')"
    utils  .update(sql)

    sql = "update stu set name = '老王' where name = '老张'"
    utils.update(sql)

    sql = "delete from stu where name = '老王'"
    utils.update(sql)